﻿<UserControl x:Class="WpfApplication1.Conversation"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             xmlns:toolkit="http://schemas.microsoft.com/winfx/2006/xaml/presentation/toolkit/extended"
             mc:Ignorable="d" >
    <Grid x:Name="LayoutRoot" >
        <toolkit:RichTextBox  Margin="5,6,15,0" MinWidth="150" MinHeight="265" x:Name="Conv" Background="White" Padding="10" IsDocumentEnabled="False" Height="265" VerticalAlignment="Top" HorizontalAlignment="Left" Width="400" 
                                          Text="{Binding Log, UpdateSourceTrigger=PropertyChanged}" IsReadOnly="True"
                                          ScrollViewer.VerticalScrollBarVisibility="Visible" BorderBrush="Black" Foreground="Black" >
            <toolkit:RichTextBox.TextFormatter>
                <toolkit:PlainTextFormatter />
            </toolkit:RichTextBox.TextFormatter>
            </toolkit:RichTextBox>

        <DataGrid Margin="422,6,0,0" x:Name="Users" IsReadOnly="True" GridLinesVisibility="Horizontal" CanUserAddRows="false" Height="265" VerticalAlignment="Top" HorizontalAlignment="Left" Width="221" />
            <ComboBox Height="22" Margin="422,276,0,0" Name="Channel" VerticalAlignment="Top" IsEditable="False" IsManipulationEnabled="False" SelectedIndex="0" ItemsSource="{Binding Members}" HorizontalAlignment="Left" Width="221" IsReadOnly="False" />
        <TextBox Height="20" HorizontalAlignment="Left" Margin="5,278,0,0" Name="input" VerticalAlignment="Top" Width="400" />
    </Grid>
</UserControl>
